// 页面的标签和组件
.network_set {
  padding: 12px;
  display: flex;
  column-gap: 12px;
  height: calc(100vh - 92px);
  box-sizing: border-box;

  .tabs {
    background-color: #fff;
    box-sizing: border-box;
    padding: 14px 0;
    position: relative;
    width: 160px;

    .tab_item,
    .active_tab {
      cursor: pointer;

      .tab_item_content,
      .bg {
        margin: 0 15px 0 10px;
        width: 134px;
        height: 5vh;
        display: flex;
        align-items: center;
        font-size: 14px;
        // padding-left: 14px;
        // font-family: '微软雅黑', serif;
        // color: #909399;
        display: flex;
        justify-content: center;
      }
    }

    .tab_item_active {
      .tab_item_content {
        // color: #303133;
        color: #007cff;
      }
    }

    .active_tab {
      position: absolute;
      transition: all 0.3s ease-in-out;

      .right_dot_container {
        position: relative;

        &::after {
          content: '';
          width: 4px;
          height: 100%;
          background-color: #007cff;
          position: absolute;
          top: 0;
          right: 0;
        }
      }

      .bg {
        background-color: rgba($color: $primaryColor, $alpha: 0.07);
      }
    }
  }

  .main {
    width: calc(100% - 172px);
    display: flex;
    flex-direction: column;
    height: 100%;
    // 部门设置
    .set {
      // width: 850px;
      flex: 1;
      display: flex;
      flex-direction: column;
      height: 100%;
      background-color: #fff;
      .invite_code_form {
        // height: 53.5vh;
        // max-width: 850px;
        height: 100%;
      }

      .set_form,
      .invite_code_form {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .top,
      .bottom,
      .invite_code_form {
        background-color: #fff;
        // border-radius: 8px;
        box-sizing: border-box;
        padding: 20px;
        max-width: 850px;
        .form {
          display: flex;
          flex-direction: column;
          gap: 4vh;

          .form_item {
            display: flex;
            justify-content: space-between;
            .el-radio {
              margin-right: 0;
              margin-left: 20px;
            }
            :deep(.el-form-item__label) {
              width: auto !important;
              height: auto !important;
            }

            :deep(.el-form-item__content) {
              flex: none !important;
            }

            .form_item_label {
              display: flex;
              flex-direction: column;
              gap: 8px;

              span {
                line-height: normal !important;
              }

              .name {
                font-size: 14px;
                font-weight: bold;
                color: #333;
                display: flex;
                align-items: center;
                gap: 5px;
              }

              .tips {
                font-size: 12px;
                color: #909399;
              }
            }

            .form_item_content {
              display: flex;
              gap: 5px;

              .invite_code {
                width: 8vw;
                box-shadow: 0 0 0 1px var(--el-disabled-border-color) inset;
                padding: 1px 11px;
                height: 26px;
                background-color: #f5f7fa;
                color: var(--el-disabled-text-color);
                border-radius: 2px;
                font-size: 12px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                display: flex;
                align-items: center;
                justify-content: space-between;
              }
            }
          }

          .bage {
            color: $deleteColor;
            margin-top: 4px;
          }
        }
      }
    }
  }
}

// 资质设置
// .authentication_settings {
  // :deep(.el-tabs__header) {
  //     background-color: #fff !important;
  //     border-radius: 6px !important;
  //     padding: 20px !important;
  //     box-sizing: border-box !important;
  // }

  // :deep(.el-tabs__content) {
  //     background-color: #fff !important;
  //     margin-top: 15px !important;
  // }
// }
// .set {
//     display: flex;
//     flex-direction: column;
//     flex: 1;
//     .btns {
//         margin-top: 10px;
//     }

//     .form {
//         display: flex;
//         flex-wrap: wrap;
//         justify-content: space-around;
//         flex: 1;
//         margin: 15px 0;

//         .form-item {
//             margin-bottom: 15px;

//             .bg_text {
//                 color: #999999;
//             }

//             .is-checked {
//                 .bg_text {
//                     color: #007cff;
//                 }
//             }
//         }

//         .tips {
//             height: 20px;
//             line-height: 18px;
//             font-size: 12px;
//             color: #999999;
//         }

//         .bage {
//             color: #fd991f;
//             margin-bottom: 0;
//         }
//     }
// }

.grade,
.type {
  display: flex;
  flex-direction: column;
  flex: 1;
  .header {
    // margin-top: 10px;

    .mr5 {
      margin-right: 5px;
    }

    .btn {
      display: flex;
      align-items: center;
    }

    .btns {
      .btn-change {
        display: flex;
        align-items: center;
      }
    }

    .search {
      .input-width {
        width: 150px;
        margin-right: 5px;
      }
    }
  }

  .table-grade {
    margin: 10px 0;
    flex: 1;
    position: relative;
  }
}

.field {
  .header {
    margin-top: 10px;

    p {
      padding: 5px 0;
      font-size: 12px;
      color: #999999;
    }
  }

  .table-list {
    margin: 10px 0;
  }

  .table-emp {
    margin-top: 50px;
  }
}

.my-header {
  h3 {
    color: #000;
    font-size: 14px;
  }
}

.add-dialog {
  .form-text {
    .form-item {
      margin-bottom: 18px;
    }
  }
}

.btn_save {
  width: 3.2vw;
}

.btn_delete {
  width: 3.2vw;
  color: #fff;
}

.btn_cancel {
  width: 3.2vw;
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
